package com.java.comprehensive.design.behavioral_model.observer_pattern;

/**
 * @Author 窦绍飞
 * @create 2023/2/23
 */
public class WeixinUser implements Obsever {
	private String name;

	public WeixinUser(String name) {
		this.name = name;
	}

	public void update(String message) {
		System.out.println(name + "收到的通知：" + message);
	}
}
